import { Navigate } from 'react-router-dom'
import { lazy } from 'react'

const WaiChu = lazy(() => import('../../view/Wyx/waichu'))
const XiangQing = lazy(() => import('../../view/Wyx/xiangqing'))
const JiLu = lazy(() => import('../../view/Wyx/jilu'))
const DengJi = lazy(() => import('../../view/Wyx/dengji'))

const LiShi = lazy(() => import('../../view/Wyx/lishi'))
const LiShiXiangQing = lazy(() => import('../../view/Wyx/lishixiangqing'))
const PingJia = lazy(() => import('../../view/Wyx/pingjia'))

export default [
    {
        path: '/waichu',
        element: <WaiChu />
    },
    {
        path: '/xiangqing',
        element: <XiangQing />
    },
    {
        path: '/jilu',
        element: <JiLu />
    },
    {
        path: '/dengji',
        element: <DengJi />
    },
    {
        path: '/lishi',
        element: <LiShi />
    },
    {
        path: '/lishixiangqing',
        element: <LiShiXiangQing />
    },
    {
        path: '/pingjia',
        element: <PingJia />
    }

]
    